<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

//$teste = setlocale(LC_ALL, "ptb_bra");

//include_once 'conecta_mysqli.php';
include_once 'conecta_pdo.php';


abstract class abstract_dao{
    
    /**
     * Driver mysqli
     * @var mysqli
     */
//    protected $con ;
    
    /**
     * Driver PDO
     * @var PDO
     */
    protected $pdo ;

    public function __construct(){
//        $this->con = conectaMysqli::get_mysqli();
        $this->pdo = conectaPDO::get_pdo();
    }
    
//    public function error(){
//        return $this->con->error;
//    }
    
}

class DAOException extends Exception{}

?>
